#include <stdio.h>
#include <stdlib.h>
#include <dpglib.h>

int main(int argc, char** argv)
{
	DpgHeader header = read_header(argv[1]);
	if (header.error != FILE_OK) 
	{
		fprintf(stderr, "error : can't pase file\n");
		return EXIT_FAILURE;
	}
	audio_video_extract(argv[2], argv[3], &header);
	return 0;
}
